package com.cash.channel.api.model.response;

import com.cash.channel.api.model.DataModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class RepayCalculateResponse implements DataModel,Serializable {

    private Double amount;
    private Double corpus;
    private Double fee;
    private Double lateFee;
    private Double penalties;
    private Double otherFee;
    private Double allRepayFee;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date payDate;
    private Double assFee = 0.0D;
    private Double remainMerchantFee = 0.0D;
    private Double serviceCharge = 0.0D;
    private String payTillTime ;

}
